Speed vs. Memory Usage - An Approach to Deal with Contrary Aspects
نویسندگان
چکیده
Besides design and implementation of components, software engineering for component-based systems has to deal with component integration issues whose impact is not restricted to separate components but rather affects the system as a whole. The bigger the software system is, the more difficult it will be to deal with. Aspect-Oriented programming (AOP) addresses these cross-cutting, multi-component concerns. AOP describes system properties and component interactions in terms of so-called aspects. Often, aspects express non-functional component properties, such as resource usage (CPU, memory, network bandwidth), component and object (co-) locations, fault-tolerance, timing behavior, or security settings. Typically, these properties do not manifest in the components’ functional interfaces. Aspects often constrain the design space for a given software system. System designers have to trade off multiple, possibly contradicting aspects affecting a set of components (e.g.; the fault-tolerance aspect may require replication of component data, whereas the security aspect may prohibit it). Component software may be deployed in varying contexts, maybe requiring emphasis on only a few of the aspects considered during design and implementation. Static aspect weavers often require compromises with respect to the generality of services provided by a component system. In this paper, we focus on dynamic management of aspect information during program runtime. We introduce an approach called ”dynamic aspect weaving” to interconnect aspect code and functional code. Using our approach, it is possible to decide at runtime whether objects living inside a component should be instantiated with support for a particular aspect or not. We present a distributed Mandelbrot computation as an example and discuss dynamic aspect weaving as a technique to manage speed versus memory usage trade-offs. We have implemented our approach in the context of the C# language and the Microsoft .NET and the ROTOR environment. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Copyright 2002 ACM X-XXXXX-XX-X/XX/XX ...$5.00.
منابع مشابه
English Vocabulary Learning Strategies: the Case of Iranian Monolinguals vs. Bilinguals
The main objective of the present study was to investigate the differences between Iranian EFL monolinguals and bilinguals in terms of vocabulary language learning strategies. In fact, it was an attempt to investigate whether bilingual/ monolingual learners differ significantly in using vocabulary learning strategies. To this end, 70 EFL, 45 monolingual (Persian) and 25 bilingual (Arabic-Persia...
متن کاملSociological Analysis of the Relationship between Having Faith and Mental Health
This paper with emphasising on religious context of Iranian society, has a critical interpretation which considers psychological damages as an inevitable consequence of modernity(with integrated sociological and psychological approach) attempts to address youth mental health issues. In this regard, this paper with constructing mental aspects (belief and emotional) objective (ritual and outcome)...
متن کاملThe Effect of Memory and Attention Adaptation Training on Working Memory and Processing Speed in Children Survived from Cancer
The aim of this study was to promote working memory and processing speed in adolescents surviving acute lymphoblastic leukemia with a history of chemotherapy, utilizing a cognitive behavior therapy (MAAT). The study population of this research included 60 adolescents survived from acute lymphoblastic leukemia with chemotherapy history attending Imam Reza outpatient oncology clinic. The partici...
متن کاملThe Place-Name as an Intangible Place of Memory (A Holistic Approach in Reading the Place-Names through a Comparative-Analytical Study on the Character of Name and Place)
Understanding architectural heritage and their various aspects have always been a subject of focus for the international conservation communities. Within the recent decades, eventhough the place-names are part of the living history as well as cultural heritage, they have still constantly been facing quick precipitant changes. As such, in the Conservation literature, most studies have skipped ad...
متن کاملReachability checking in complex and concurrent software systems using intelligent search methods
Software system verification is an efficient technique for ensuring the correctness of a software product, especially in safety-critical systems in which a small bug may have disastrous consequences. The goal of software verification is to ensure that the product fulfills the requirements. Studies show that the cost of finding and fixing errors in design time is less than finding and fixing the...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002